package com.easyhuan.pojo;

import java.util.HashSet;
import java.util.Set;

public class Goods {

	private Integer goodsId; // 商品id
	private String goodsName; // 商品名称
	private String goodsCategory; // 商品类型
	private double goodsPrice; // 商品价格
	private String goodsAddress; // 商品所在地址
	private String goodsDescription; // 商品描述
	private Integer goodsStatus; // 商品状态
	private Integer goodsBoughtUserId; // 存放购买了商品的用户id
	private User user;

	private Set<Picture> pictures = new HashSet<Picture>();
	private Set<Comment> comments = new HashSet<Comment>();

	public Goods() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsDescription() {
		return goodsDescription;
	}

	public void setGoodsDescription(String goodsDescription) {
		this.goodsDescription = goodsDescription;
	}

	public double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public String getGoodsCategory() {
		return goodsCategory;
	}

	public void setGoodsCategory(String goodsCategory) {
		this.goodsCategory = goodsCategory;
	}

	public Integer getGoodsStatus() {
		return goodsStatus;
	}

	public void setGoodsStatus(Integer goodsStatus) {
		this.goodsStatus = goodsStatus;
	}

	public String getGoodsAddress() {
		return goodsAddress;
	}

	public void setGoodsAddress(String goodsAddress) {
		this.goodsAddress = goodsAddress;
	}

	public Integer getGoodsBoughtUserId() {
		return goodsBoughtUserId;
	}

	public void setGoodsBoughtUserId(Integer goodsBoughtUserId) {
		this.goodsBoughtUserId = goodsBoughtUserId;
	}

	public Set<Picture> getPictures() {
		return pictures;
	}

	public void setPictures(Set<Picture> pictures) {
		this.pictures = pictures;
	}

	public Set<Comment> getComments() {
		return comments;
	}

	public void setComments(Set<Comment> comments) {
		this.comments = comments;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
